// action Type 是描述每个 要执行的功能名称
export const ADD_TODO = "ADD_TODO";
export const DEL_TODO = "DEL_TODO";
export const SET_TEXT = "SET_TEXT"
export const PLUS_COUNT = "PLUS_COUNT"
export const TOGGLE_ITEM = "TOGGLE_ITEM" //切换完成未完成

// 请求使用的action type
export const FETCH_SUCCESS = "FETCH_SUCCESS"
export const FETCH_TODOS_REQUEST = "FETCH_TODOS_REQUEST"
export const FETCH_TODOS_FAILURE = "FETCH_TODOS_FAILURE"